/*
 * RoleTestPanel.h
 *
 *  Created on: 2012-11-3
 *      Author: tutu
 */

#ifndef ROLETESTPANEL_H_
#define ROLETESTPANEL_H_

#include <QWidget>
#include <QPushButton>
#include "../requester/TRoleRequester.h"

class RoleTestPanel : public QWidget
{
	Q_OBJECT

// Member
private:
	QPushButton *_listButton;
	TRoleRequesterPointer _requester;

// Method
public:
	RoleTestPanel(QWidget *parent = 0);
	virtual ~RoleTestPanel();

// Slot
private slots:
	void listButtonClicked();
	void requestFinished(bool error, QList<TRolePointer> roles);
};

#endif /* ROLETESTPANEL_H_ */
